/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.jobmesmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

import java.util.Date;

/**
 * 就业查询Entity
 * @author zms1
 * @version 2018-03-31
 */
public class JobMesSearch extends DataEntity<JobMesSearch> {
	
	private static final long serialVersionUID = 1L;
	private String jobname;		// 需求方名称
	private String schoolname;   //学校名称
	private String jobcontent;		// 岗位内容
	private String jobreq;		// 就业要求
	private String jobpay;		// 工资范围
	private String jobstatement;		// 提供服利说明
	private String jobaddr;		// 就业地点
	private String joblinkid;		// 关联子类id
	private String worklinkid;		// 关联子类id
	private String linkid;		// 报名就业编号
	private String linkstuid;		// 学生id
	private String linkjobid;		// 就业id
	private String userId;		// 编号
	private String stuid;		// 学号
	private String schoolid;		// 学校编码
	private String username;		// 学生姓名
	private String majorId;		// 专业编码
	private String moblie;		// 手机
	private Date endCreateDate;
	private Date beginCreateDate;
	private Date createDate;
	@Override
	public Date getCreateDate() {
		return createDate;
	}

	@Override
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}

	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	public void setJoblinkid(String joblinkid) {
		this.joblinkid = joblinkid;
	}
	public JobMesSearch() {
		super();
	}

	public JobMesSearch(String id){
		super(id);
	}

	@Length(min=1, max=30, message="需求方名称长度必须介于 1 和 30 之间")
	public String getJobname() {
		return jobname;
	}

	public void setJobname(String jobname) {
		this.jobname = jobname;
	}
	
	@Length(min=0, max=512, message="岗位内容长度必须介于 0 和 512 之间")
	public String getJobcontent() {
		return jobcontent;
	}

	public void setJobcontent(String jobcontent) {
		this.jobcontent = jobcontent;
	}
	
	@Length(min=0, max=255, message="就业要求长度必须介于 0 和 255 之间")
	public String getJobreq() {
		return jobreq;
	}

	public void setJobreq(String jobreq) {
		this.jobreq = jobreq;
	}
	
	@Length(min=0, max=64, message="工资范围长度必须介于 0 和 64 之间")
	public String getJobpay() {
		return jobpay;
	}

	public void setJobpay(String jobpay) {
		this.jobpay = jobpay;
	}
	
	@Length(min=0, max=512, message="提供服利说明长度必须介于 0 和 512 之间")
	public String getJobstatement() {
		return jobstatement;
	}

	public void setJobstatement(String jobstatement) {
		this.jobstatement = jobstatement;
	}
	
	@Length(min=0, max=255, message="就业地点长度必须介于 0 和 255 之间")
	public String getJobaddr() {
		return jobaddr;
	}

	public void setJobaddr(String jobaddr) {
		this.jobaddr = jobaddr;
	}
	
	@Length(min=0, max=11, message="关联子类id长度必须介于 0 和 11 之间")
	public String getJoblinkid() {
		return joblinkid;
	}
	@Length(min=0, max=11, message="关联子类id长度必须介于 0 和 11 之间")
	public String getWorklinkid() {
		return worklinkid;
	}

	public void setWorklinkid(String worklinkid) {
		this.worklinkid = worklinkid;
	}
	
	@Length(min=1, max=11, message="报名就业编号长度必须介于 1 和 11 之间")
	public String getLinkid() {
		return linkid;
	}

	public void setLinkid(String linkid) {
		this.linkid = linkid;
	}
	
	@Length(min=1, max=65, message="学生id长度必须介于 1 和 65 之间")
	public String getLinkstuid() {
		return linkstuid;
	}

	public void setLinkstuid(String linkstuid) {
		this.linkstuid = linkstuid;
	}
	
	@Length(min=1, max=11, message="就业id长度必须介于 1 和 11 之间")
	public String getLinkjobid() {
		return linkjobid;
	}

	public void setLinkjobid(String linkjobid) {
		this.linkjobid = linkjobid;
	}

	@Length(min=0, max=64, message="学号长度必须介于 0 和 64 之间")
	public String getStuid() {
		return stuid;
	}

	public void setStuid(String stuid) {
		this.stuid = stuid;
	}
	
	@Length(min=0, max=64, message="学校编码长度必须介于 0 和 64 之间")
	public String getSchoolid() {
		return schoolid;
	}

	public void setSchoolid(String schoolid) {
		this.schoolid = schoolid;
	}
	
	@Length(min=0, max=100, message="学生姓名长度必须介于 0 和 100 之间")
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Length(min=0, max=200, message="手机长度必须介于 0 和 200 之间")
	public String getMoblie() {
		return moblie;
	}
	public void setMoblie(String moblie) {
		this.moblie = moblie;
	}
	public String getSchoolname() {
		return schoolname;
	}
	public String getMajorId() {
		return majorId;
	}

	public void setMajorId(String majorId) {
		this.majorId = majorId;
	}
	public void setSchoolname(String schoolname) {
		this.schoolname = schoolname;
	}
}